package com.ddone.ioc.xml.controller;

import com.ddone.ioc.xml.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @author ddone
 * @date 2024/3/19-17:18
 */
@Controller
public class UserController {

    @Autowired
    private UserService userService;

    public void login(String username, String pwd ) {
        userService.login(username,pwd);
    }
}
